package de.hpi.generator.config;

import java.util.Hashtable;
/**
 * Distribution model for Poisson distributor
 * @author Michael Wolowyk
 */

public class DistributionModelPOISSON extends DistributionModel {

	public double lambda = 1;
	
	public DistributionModelPOISSON() {
		super();
		type = "POISSON";
	}
	
	/**
	 * setup object with specialized params.
	 * @param aParams specialized params
	 * 
	 */
	protected void setupObjectWithSpecializedParams(Hashtable<String, String> aParams) {
		this.lambda = Double.parseDouble(aParams.get("lambda"));
	}
}
